import request from '../index.js'

// 公告列表
export const getAnnounceList = (params) => request.post("/spaceai/notice_list", params);
// 公告详情
export const getAnnounceDetail = (params) => request.post("/spaceai/notice_detail", params);
// 首页信息
export const getHomeList = (params) => request.post("/spaceai/index", params);
// 获取ai绘画参数
export const getAiDrawParams = (params) => request.post("/imageai/data", params);
// 提交ai绘画
export const submitAiDraw = (params) => request.post("/imageai/index", params);
// ai绘画回调
export const aiDrawCallback = (params) => request.post("/imageai/callback", params);
// ai绘画列表
export const getAiDrawList = (params) => request.post("/imageai/imagelist", params);
// ai绘画图片详情
export const getAiDrawDetail = (params) => request.post("/imageai/detail", params);
// ai聊天列表
export const getAiChatList = (params) => request.post("/imageai/chatlist", params);
// ai聊天发送
export const aiChatSend = (params) => request.post("/imageai/chat", params);
// ai聊天回调
export const aiChatCallback = (params) => request.post("/imageai/chatcallback", params);
// 钻石列表
export const getDiamondList = (params) => request.post("/imageai/goldlist", params);
// 钻石充值
export const diamondRecharge = (params) => request.post("/imageai/goldbuy", params);